<template>
	<view class="page">
		<!-- <view class="group_6 flex-row">
			<image class="label_2" referrerpolicy="no-referrer" @tap="$wanlshop.back(1)"
				src="https://lanhu.oss-cn-beijing.aliyuncs.com/MasterDDSSlicePNGf065ecb05500b50ee4b3af7f3d295b17.png" />
			<text class="text_1">{{name}}的案列</text>
		</view> -->
		<view class="evaluate" v-for="(item,index) in evaluateObj" :key="index">
			<view class="nei">
				{{item.remark}}
			</view>
			<view class="dress">
				<view>四川</view>
				<view class="xian"> </view>
				<view>
					四川成都
				</view>
				<view style="margin-left: 30px;">{{item.create_time}}</view>
			</view>
			<view class="b-img">
				<view v-for="(items,index) in item.images" class="s-img">
					<image :src="$wanlshop.oss(items)" mode=""></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				evaluateObj: {}
			}
		},
		onLoad(option) {
			let data = JSON.parse(option.item)
			this.name = data.real_name
			this.worKinfo(data.id)
		},
		methods: {
			worKinfo(id) {
				this.$api.get({
					url: '/jmy/worker/commentsList',
					data: {
						user_id: id
					},
					success: res => {
						console.log(res)
						this.evaluateObj = res.data
					}
				})
			},
		}
	}
</script>

<style>
	.b-img {
		width: 100%;
		height: auto;
		display: flex;
		flex-wrap: wrap;
	}

	.s-img {
		width: 33%;
		height: 120px;
	}

	.s-img image {
		width: 114px;
		height: 100px;
		margin: 10px 0;
		border-radius: 2px;
	}

	.dress {
		ont-family: Source Han Sans;
		font-size: 12px;
		font-weight: normal;
		line-height: normal;
		letter-spacing: 0em;
		margin: 20px 0;
		font-feature-settings: "kern" on;
		color: #808080;
		display: flex;
	}

	.xian {
		margin: 0 10px;
		width: 1px;
		height: 12px;
		margin-top: 3px;
		border-left: 1px solid #808080;
	}

	.top-box {
		width: 100%;
		height: 15vw;
		display: flex;
		align-items: center;
	}

	.nei {
		font-family: Source Han Sans;
		font-size: 14px;
		font-weight: normal;
		line-height: 28px;
		letter-spacing: 0em;
		font-feature-settings: "kern" on;
		color: #3D3D3D;
	}

	.ziti {
		margin-left: 20px;
		font-family: Source Han Sans;
		font-size: 12px;
		font-weight: normal;
		line-height: normal;
		letter-spacing: 0em;
		font-feature-settings: "kern" on;
		color: #666666;

	}

	.top-img image {
		width: 35px;
		border-radius: 50%;
		height: 35px;
		opacity: 1;

	}

	.page {
		width: 100vw;
		height: 100vh;
		background: #fafafa;
	}

	.evaluate {
		width: 100%;
		height: auto;
		border-radius: 10px;
		background-color: #FFF;
		padding: 20px 16px;
		margin-bottom: 20px;
	}

	.flex-row {
		display: flex;
		flex-direction: row;
	}

	.group_6 {
		background: #FF4630;
		left: 0;
		width: 100vw;
		height: 11.29vw;
	}

	.label_2 {
		width: 6.67vw;
		height: 6.16vw;
		margin: 2.56vw 0 0 3.07vw;
	}

	.text_1 {
		width: 17.44vw;
		height: 6.42vw;
		overflow-wrap: break-word;
		color: rgba(255, 255, 255, 1);
		font-size: 4.35vw;
		font-family: Source Han Sans-Medium;
		font-weight: 500;
		text-align: left;
		white-space: nowrap;
		line-height: 6.42vw;
		margin: 2.56vw 41.53vw 0 25.28vw;
	}

	.label_2 {
		width: 6.67vw;
		height: 6.16vw;
		margin: 2.56vw 0 0 3.07vw;
	}
</style>